package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.OrderincomeDao;
import com.bootdo.appsystem.domain.OrderincomeDO;
import com.bootdo.appsystem.service.OrderincomeService;



@Service
public class OrderincomeServiceImpl implements OrderincomeService {
	@Autowired
	private OrderincomeDao orderincomeDao;
	
	@Override
	public OrderincomeDO get(Integer id){
		return orderincomeDao.get(id);
	}

	@Override
	public OrderincomeDO getByCode(String code) {
		return orderincomeDao.getByCode(code);
	}

	@Override
	public List<OrderincomeDO> list(Map<String, Object> map){
		return orderincomeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderincomeDao.count(map);
	}
	
	@Override
	public int save(OrderincomeDO orderincome){
		return orderincomeDao.save(orderincome);
	}
	
	@Override
	public int update(OrderincomeDO orderincome){
		return orderincomeDao.update(orderincome);
	}
	
	@Override
	public int remove(Integer id){
		return orderincomeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return orderincomeDao.batchRemove(ids);
	}
	
}
